<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:body>
	<ui:composition template="/controlling/template/template.xhtml">
		<ui:define name="title">Themes</ui:define>
		<ui:define name="content">
			<h:form>
				<p:panel id="ff" header="Themes" style="font-size: 15px;font-family: times ">
					<p:growl />
					<h:panelGrid columns="8" cellpadding="10" style="">


						<p:commandLink ajax="false" title="sunny"
							action="#{themeBean.saveTheme('sunny')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/sunny.png" />
						</p:commandLink>

						<p:commandLink ajax="false" title="swanky-purse" 
							action="#{themeBean.saveTheme('swanky-purse')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/swanky-purse.png" />
						</p:commandLink>

						<p:commandLink ajax="false" title="mint-choc"
							action="#{themeBean.saveTheme('mint-choc')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/mint-choc.png" />
						</p:commandLink>

						<p:commandLink ajax="false" title="smoothness"
							action="#{themeBean.saveTheme('smoothness')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/smoothness.png" />
						</p:commandLink>

						<p:commandLink ajax="false" title="Dark"
							action="#{themeBean.saveTheme('Dark')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/Dark.png" />
						</p:commandLink>

						<p:commandLink ajax="false" title="blitzer"
							action="#{themeBean.saveTheme('blitzer')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/blitzer.png" />
						</p:commandLink>

						<p:commandLink ajax="false" title="redmond"
							action="#{themeBean.saveTheme('redmond')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/redmond.png" />
						</p:commandLink>

						<p:commandLink ajax="false" title="humanity"
							action="#{themeBean.saveTheme('humanity')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/humanity.png" />
						</p:commandLink>

						<p:commandLink ajax="false" title="le-frog"
							action="#{themeBean.saveTheme('le-frog')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/le-frog.png" />
						</p:commandLink>

						<p:commandLink ajax="false" title="Sneaks"
							action="#{themeBean.saveTheme('Sneaks')}"
							onclick="waiteDialog.show();">
							<p:graphicImage height="70" width="60"
								value="/resources/images/Sneaks.png" />
						</p:commandLink>
					</h:panelGrid>
				</p:panel>

			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>

